Optimal. Leaf size=42 \[ \frac{x^3 \sqrt{a+\frac{b}{x^2}}}{3 a}-\frac{2 b x \sqrt{a+\frac{b}{x^2}}}{3 a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0093987, antiderivative size = 42, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {271, 191} \[ \frac{x^3 \sqrt{a+\frac{b}{x^2}}}{3 a}-\frac{2 b x \sqrt{a+\frac{b}{x^2}}}{3 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 271
Rule 191
Rubi steps
\begin{align*} \int \frac{x^2}{\sqrt{a+\frac{b}{x^2}}} \, dx &=\frac{\sqrt{a+\frac{b}{x^2}} x^3}{3 a}-\frac{(2 b) \int \frac{1}{\sqrt{a+\frac{b}{x^2}}} \, dx}{3 a}\\ &=-\frac{2 b \sqrt{a+\frac{b}{x^2}} x}{3 a^2}+\frac{\sqrt{a+\frac{b}{x^2}} x^3}{3 a}\\ \end{align*}
Mathematica [A] time = 0.019603, size = 28, normalized size = 0.67 \[ \frac{x \sqrt{a+\frac{b}{x^2}} \left (a x^2-2 b\right )}{3 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 38, normalized size = 0.9 \begin{align*}{\frac{ \left ( a{x}^{2}+b \right ) \left ( a{x}^{2}-2\,b \right ) }{3\,{a}^{2}x}{\frac{1}{\sqrt{{\frac{a{x}^{2}+b}{{x}^{2}}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.994553, size = 43, normalized size = 1.02 \begin{align*} \frac{{\left (a + \frac{b}{x^{2}}\right )}^{\frac{3}{2}} x^{3} - 3 \, \sqrt{a + \frac{b}{x^{2}}} b x}{3 \, a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.47507, size = 63, normalized size = 1.5 \begin{align*} \frac{{\left (a x^{3} - 2 \, b x\right )} \sqrt{\frac{a x^{2} + b}{x^{2}}}}{3 \, a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.997504, size = 46, normalized size = 1.1 \begin{align*} \frac{\sqrt{b} x^{2} \sqrt{\frac{a x^{2}}{b} + 1}}{3 a} - \frac{2 b^{\frac{3}{2}} \sqrt{\frac{a x^{2}}{b} + 1}}{3 a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\sqrt{a + \frac{b}{x^{2}}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]